<?php
/**
 * Nordic Repository
 * 
 * LICENSE
 * 
 * The new BSD license is applied on this source-file. For further
 * information please visit http://license.nordic-dev.de/newbsd.txt
 * or send an email to andre.moelle@gmail.com.
 */

/**
 * Load necessary classes.
 */
Zend_Loader::loadClass('Zend_Controller_Action_Helper_Abstract');

Zend_Loader::loadClass('Nordic_Config');


/**
 * This class encapsulates the loading of configs.
 * 
 * @category   Nordic
 * @package    Nordic_Controller
 * @copyright  2007 Nordic Development
 * @license    http://license.nordic-dev.de/newbsd.txt (New-BSD license)
 * @author     Andre Moelle <andre.moelle@gmail.com>
 * @version    $Id: Config.php 3 2007-07-08 09:21:42Z andre.moelle $
 */
class Nordic_Controller_Helper_Config extends Zend_Controller_Action_Helper_Abstract
{
	/**
	 * Loads a new config.
	 */
	public function load ($filename, array $options = array())
	{
		return Nordic_Config::getInstance()->load($filename, $options);
	}
}
?>